package com.self.serviceedu.mapper;

import com.self.serviceedu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.self.serviceedu.entity.frontvo.CourseWebVo;
import com.self.serviceedu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author xiaozeng
 * @since 2020-09-16
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    CoursePublishVo getPublishCourseInfo(String courseId);

    //根据课程Id查询课程基本信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
